#ifndef MAINW_H
#define MAINW_H

#include <QDialog>
#include "mainwindow.h"
#include "chatclient.h"

namespace Ui {
class MainW;
}

class MainW : public QDialog
{
    Q_OBJECT

public:
    explicit MainW(QWidget *parent = 0);
    ~MainW();

private slots:
    void on_priv_clicked();
    void getRev(int);


    void on_multi_clicked();

signals:
    void sendSig(int);
    void sendLoginSig();
private:
    Ui::MainW *ui;
    MainWindow m;
    ChatClient &chat_client;
};

#endif // MAINW_H
